package tables

import (
	"time"
)

type CourseProgress struct {
	Id               int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	FromId           int       `xorm:"" json:"from_id" form:"from_id" mapstructure:"from_id"`
	LearningProgress float32   `xorm:"" json:"learning_progress" form:"learning_progress" mapstructure:"learning_progress"`
	UserId           int       `xorm:"" json:"user_id" form:"user_id" mapstructure:"user_id"`
	CreatedAt        time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt        time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt        time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	Acid             int       `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	WatchType        int       `xorm:"" json:"watch_type" form:"watch_type" mapstructure:"watch_type"`
	ListId           int       `xorm:"" json:"list_id" form:"list_id" mapstructure:"list_id"`
	WatchNumber      int       `xorm:"" json:"watch_number" form:"watch_number" mapstructure:"watch_number"`
	WatchTime        float32   `xorm:"" json:"watch_time" form:"watch_time" mapstructure:"watch_time"`
	SubMchId         string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
	State            int       `xorm:"" json:"state" form:"state" mapstructure:"state"`
}
